.post-container {
    width: 95.2%;
    margin-top:5px;
    border-radius: 8px;
    padding: 20px 20px 20px 20px;
    background-color: #ffffff;
  }
  
  .post-header {
    display: flex;
    align-items: start;
    margin-bottom: 10px;
    justify-content:flex-start;
  }
  
  .publish-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d9d9d9;
    margin-right: 10px;
  }
  
  .post-textarea {
    width: 81%;
    height: 100px;
    border-radius: 4px;
    border: 2px solid #A6A6A6;
    padding: 10px;
    margin-bottom: 10px;
    resize: none;
    outline: none;
  }
  
  .post-textarea:focus{
    border-color:#ABC6D4;
  }
  
  .topic-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .topic-input {
    flex: 1;
    height: 40px;
    border-radius: 4px;
    border: 2px solid #A6A6A6;
    padding: 0 10px 0 35px;
    margin-right: 2.6%;
    outline: none;
    cursor: pointer;
  }

  

  .topic-input:focus {
    border-color: #ABC6D4;
  }

  .target-icon{
    width: 24px;
    height: 24px;
    margin-right: 5px;
    cursor: pointer;
    position: absolute;
    left: 5px;
  }
  
  .suggestions-list {
    border: none;
    border-radius: 4px;
    margin-top: 3px;
    position: absolute; 
    top: 100%; /* 从容器底部开始 */
    left: 0; /* 确保对齐 */
    background-color: #f3f3f3; /* 背景颜色 */
    z-index: 10; /* 提高层级 */
    list-style-type: none; /* 去掉默认列表样式 */
    padding: 0; /* 去掉内边距 */
    max-height: 150px; /* 最大高度 */
    overflow-y: auto; /* 超出部分滚动 */
  }
  
  .suggestions-list li {
    padding: 8px; /* 内边距 */
    cursor: pointer; /* 光标为手型 */
  }
  
  .suggestions-list li:hover {
    background-color: #dbdbdb; /* 悬停效果 */
  }
  
  .new-topic-button {
    width: 100px;
    height: 40px;
    background-color: #E5E5E5;
    color:#696969;
    border: none;
    border-radius: 8px;
    padding: 0 10px;
    cursor: pointer;
  }
  
  .image-upload-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .image-label {
    width: 80px;
    height:80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border:2px solid #A6A6A6;
    background-color: #ffffff;
    color: #A6A6A6;;
    border-radius: 5px;
    cursor: pointer;

  }
  
  .image-name {
    margin-left: 10px;
    color: #666;
  }

  .image-preview{
    /* 子元素顶部对齐 */
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .uploaded-image{
    width: 85px;
    height:85px;
    /* 超出部分裁剪 */
    object-fit: cover;
  }

  .remove-image-button{
    width: 20px;
    height: 20px;
    border: none;
    margin-left: 3px;
    font-size: 18px; 
    cursor: pointer; /* 光标为手型 */
  }
  
  .button-container {
    display: flex;
    justify-content: space-between;
  }
  
  .cancel-button {
    width: 100px;
    height: 40px;
    background-color: #E5E5E5;
    border: none;
    display: flex;
    align-items: center;
    padding: 0 0 0 30px;
    letter-spacing: 10px;
    color:#696969;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .publish-button {
    width: 100px;
    height: 40px;
    background-color: #CAD9E3;
    border: none;
    display: flex;
    align-items: center;
    padding: 0 0 0 26px;
    border-radius: 8px;
    color: #445863;
    cursor: pointer;
    /* 字间距 */
    letter-spacing: 10px;
    font-size: 18px;
    font-weight:600;
  }